assert_empty_str() {
    local name=${1:?}
    local result=${2:?}
    [[ "" == "$result" ]] || echo "$name: '' != $result"
}


assert_not_equal() {
    local name=${1:?}
    local expectation=${2:?}
    local result=${3:-}
    [[ "$expectation" != "$result" ]] || echo "$name: $expectation != $result"
}


assert_equal() {
    local name=${1:?}
    local expectation=${2:?}
    local result=${3:?}
    [[ "$expectation" == "$result" ]] || echo "$name: $expectation != $result"
}


assert_exit_status() {
    local name=${1:?}
    local expectation=${2:?}
    local result=${3:?}
    [ "$expectation" -eq "$result" ] || echo "$name: $expectation != $result"
}
